package com.bwie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bwie.domain.TbOrder;
import com.bwie.vo.PieDataVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2024/10/16 15:24
 */


@Mapper
public interface TbOderMapper extends BaseMapper<TbOrder> {
    Page<TbOrder> getOrderListByPage(Page<TbOrder> page, @Param("keyWord") String keyWord, @Param("userId") Integer userId);

    List<PieDataVo> getProdSailAmount();

}
